3.2149 \(\int \frac{(a+b x) (d+e x)^m}{a^2+2 a b x+b^2 x^2} \, dx\)

Optimal. Leaf size=51 \[ -\frac{(d+e x)^{m+1} \, _2F_1\left (1,m+1;m+2;\frac{b (d+e x)}{b d-a e}\right )}{(m+1) (b d-a e)} \]

[Out]

-(((d + e*x)^(1 + m)*Hypergeometric2F1[1, 1 + m, 2 + m, (b*(d + e*x))/(b*d - a*e)])/((b*d - a*e)*(1 + m)))

________________________________________________________________________________________

Rubi [A]  time = 0.0145051, antiderivative size = 51, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 31, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.065, Rules used = {27, 68} \[ -\frac{(d+e x)^{m+1} \, _2F_1\left (1,m+1;m+2;\frac{b (d+e x)}{b d-a e}\right )}{(m+1) (b d-a e)} \]

Antiderivative was successfully verified.

[In]

Int[((a + b*x)*(d + e*x)^m)/(a^2 + 2*a*b*x + b^2*x^2),x]

[Out]

-(((d + e*x)^(1 + m)*Hypergeometric2F1[1, 1 + m, 2 + m, (b*(d + e*x))/(b*d - a*e)])/((b*d - a*e)*(1 + m)))

Rule 27

Int[(u_.)*((a_) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Int[u*Cancel[(b/2 + c*x)^(2*p)/c^p], x] /; Fr
eeQ[{a, b, c}, x] && EqQ[b^2 - 4*a*c, 0] && IntegerQ[p]

Rule 68

Int[((a_) + (b_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[((b*c - a*d)^n*(a + b*x)^(m + 1)*Hype
rgeometric2F1[-n, m + 1, m + 2, -((d*(a + b*x))/(b*c - a*d))])/(b^(n + 1)*(m + 1)), x] /; FreeQ[{a, b, c, d, m
}, x] && NeQ[b*c - a*d, 0] &&  !IntegerQ[m] && IntegerQ[n]

Rubi steps

\begin{align*} \int \frac{(a+b x) (d+e x)^m}{a^2+2 a b x+b^2 x^2} \, dx &=\int \frac{(d+e x)^m}{a+b x} \, dx\\ &=-\frac{(d+e x)^{1+m} \, _2F_1\left (1,1+m;2+m;\frac{b (d+e x)}{b d-a e}\right )}{(b d-a e) (1+m)}\\ \end{align*}

Mathematica [A]  time = 0.0093286, size = 51, normalized size = 1. \[ -\frac{(d+e x)^{m+1} \, _2F_1\left (1,m+1;m+2;\frac{b (d+e x)}{b d-a e}\right )}{(m+1) (b d-a e)} \]

Antiderivative was successfully verified.

[In]

Integrate[((a + b*x)*(d + e*x)^m)/(a^2 + 2*a*b*x + b^2*x^2),x]

[Out]

-(((d + e*x)^(1 + m)*Hypergeometric2F1[1, 1 + m, 2 + m, (b*(d + e*x))/(b*d - a*e)])/((b*d - a*e)*(1 + m)))

________________________________________________________________________________________

Maple [F]  time = 0.078, size = 0, normalized size = 0. \begin{align*} \int{\frac{ \left ( bx+a \right ) \left ( ex+d \right ) ^{m}}{{b}^{2}{x}^{2}+2\,abx+{a}^{2}}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*x+a)*(e*x+d)^m/(b^2*x^2+2*a*b*x+a^2),x)

[Out]

int((b*x+a)*(e*x+d)^m/(b^2*x^2+2*a*b*x+a^2),x)

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b x + a\right )}{\left (e x + d\right )}^{m}}{b^{2} x^{2} + 2 \, a b x + a^{2}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)*(e*x+d)^m/(b^2*x^2+2*a*b*x+a^2),x, algorithm="maxima")

[Out]

integrate((b*x + a)*(e*x + d)^m/(b^2*x^2 + 2*a*b*x + a^2), x)

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{{\left (e x + d\right )}^{m}}{b x + a}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)*(e*x+d)^m/(b^2*x^2+2*a*b*x+a^2),x, algorithm="fricas")

[Out]

integral((e*x + d)^m/(b*x + a), x)

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (d + e x\right )^{m}}{a + b x}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)*(e*x+d)**m/(b**2*x**2+2*a*b*x+a**2),x)

[Out]

Integral((d + e*x)**m/(a + b*x), x)

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b x + a\right )}{\left (e x + d\right )}^{m}}{b^{2} x^{2} + 2 \, a b x + a^{2}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)*(e*x+d)^m/(b^2*x^2+2*a*b*x+a^2),x, algorithm="giac")

[Out]

integrate((b*x + a)*(e*x + d)^m/(b^2*x^2 + 2*a*b*x + a^2), x)